home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{7C231ACF-6C29-11D2-A431-444553540000}#1.0#0"; "WRAPPER.OCX"
- Object = "{4A6838E0-0CF9-11D2-9098-006097338A58}#1.1#0"; "CCOM.DLL"
- Begin VB.Form Form1
- Caption = "CopyCom Wrapper Demo"
- ClientHeight = 3870
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 5325
- LinkTopic = "Form1"
- ScaleHeight = 3870
- ScaleWidth = 5325
- StartUpPosition = 3 'Windows Default
- Begin WrapperObj.Wrapper Wrapper1
- Height = 3135
- Left = 120
- TabIndex = 1
- Top = 120
- Width = 5055
- _ExtentX = 8916
- _ExtentY = 5530
- End
- Begin VB.CommandButton Command1
- Caption = "Copy"
- Height = 375
- Left = 3720
- TabIndex = 0
- Top = 3360
- Width = 1335
- End
- Begin CCOMLibCtl.CopyCom CopyCom1
- Left = 1920
- OleObjectBlob = "ccwrap.frx":0000
- Top = 3360
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- Dim ep As String
- ep = IIf(Right$(App.Path, 1) <> "\", App.Path + "\", App.Path)
- 'Create gif copy of Activex wrapper control.
- Call CopyCom1.CopyCom(Wrapper1.Object, ep + "ccwrap.gif")
- End Sub
-